home *** CD-ROM | disk | FTP | other *** search
/ Holt Researcher: American History / Holt Researcher: American History.iso / pc / modules / tour.dxr / 00039.ls < prev    next >
Encoding:
Text File  |  2000-01-21  |  634 b   |  25 lines

  1. on enterFrame
  2.   global gCurrLabel
  3.   if the frameLabel <> 0 then
  4.     gCurrLabel = the frameLabel
  5.   end if
  6.   set the puppet of sprite 4 to 1
  7.   sprite(4).visible = 1
  8.   set the puppet of sprite 4 to 0
  9.   set the puppet of sprite 5 to 0
  10.   set the puppet of sprite 6 to 0
  11.   isMemoryAvailable("continue the tour", 1200, 500)
  12.   updateStage()
  13.   sound stop 1
  14. end
  15.  
  16. on exitFrame
  17.   global gMenuButton, gMenuExit, gPlaySound, goOn, firstTime, playSoundg, gTourForwardArrow, gTourBackArrow
  18.   goOn = 0
  19.   firstTime = 1
  20.   gPlaySound = 1
  21.   repeat with rc in [gMenuButton, gMenuExit, gTourForwardArrow, gTourBackArrow]
  22.     doRollover(rc)
  23.   end repeat
  24. end
  25.